# import cv2
# print(cv2.__version__)
# img = cv2.imread("/Users/seraph/AI/Sample/ula.jpg")
# img.shape
# cv2.imshow("work_0",img)
# cv2.cvtColor()
# cv2.waitKey()
# cv2.destroyWindow('work_0')
import cv2
mt = cv2.imread("./lena.jpg")
cv2.imshow("lena",mt)
bgr =cv2.split(mt)

cv2.imshow("lena_b",bgr[0])
cv2.imshow("lena_g",bgr[1])
cv2.imshow("lena_r",bgr[2])

hsv = cv2.cvtColor(mt,cv2.COLOR_BGR2HSV)
cv2.imshow("lena_h",hsv[:,:,0])
cv2.imshow("lena_s",hsv[:,:,1])
cv2.imshow("lena_v",hsv[:,:,2])
cv2.waitKey()